﻿@using MyCompanyName.AbpZeroTemplate.Web.Areas.Mpa.Models.Common.Modals
@using Abp.Application.Services.Dto
@using MyCompanyName.AbpZeroTemplate.Web.Areas.Mpa.Models.Common.Modals
@using Abp.Web.Mvc.Extensions
@using MyCompanyName.AbpZeroTemplate.Authorization
@using MyCompanyName.AbpZeroTemplate.Web.Navigation
@model MyCompanyName.AbpZeroTemplate.Web.Areas.Mpa.Models.Agent.AgentTransferViewModel
@*@using X.PagedList.Mvc
    @using X.PagedList*@

@{
    ViewBag.CurrentPageName = PageNames.App.AgentManager.AgentTransfer;
}
@section Scripts
{
    @Html.IncludeScript("~/Areas/Mpa/Views/Agent/AgentTransfer.js")
}

<style>
    .divflow {
        margin-left: -40px;
        margin-right: 0px;
    }
</style>
<div class="row">
    <div class="col-md-12">
        <div class="portlet light form-fit bordered">
            <div class="portlet-title" style="padding:8px 0px 0px 0px!important;">
                <!--标题-->
                <div class="col-md-3">
                    <div class="caption font-dark" style="padding-top:10px;font-size:15px;">
                        <i class="icon-settings font-dark"></i>
                        <span class="caption-subject bold uppercase"> 代理商转账</span>
                    </div>
                </div>
                <div class="col-md-4">

                </div>
                <div class="col-md-3">

                </div>
                <div class="col-md-2">
                    <div class="btn-group" style="float:right;">
                        <button type="button" class="btn blue" onclick="history.back(-1);">返回</button>
                    </div>
                </div>

            </div>
            <div style="background-color:#0066b3;width:100%;height:2px;">
            </div>
            <!--内容-->
            <div class="portlet-body">
                <form action="#" id="form_sample_1" class="form-horizontal" novalidate="novalidate" style="overflow:hidden;">
                    <div class="form-body" style="overflow:hidden;">
                        <div class="row">
                            <div class="col-md-6">
                                <div class="form-group divflow">
                                    <label class="control-label col-md-4">
                                        代理商账号
                                        <span class="required" aria-required="true"> * </span>
                                    </label>
                                    <div class="col-md-8">
                                        <input type="text" class="form-control" data-required="1" id="AgentCodeId" placeholder="代理商账号" value="">
                                        @*<span class="input-group-btn">
                                            <button class="btn blue" type="button" onclick="GetMsgByAgentCode()">查询</button>
                                        </span>*@
                                    </div>
                                </div>
                            </div>
                            <div class="col-md-6">
                                <div class="form-group divflow">
                                    
                                    <div class="col-md-6">
                                        <span class="input-group-btn">
                                            <button class="btn blue" type="button" onclick="GetMsgByAgentCode()">查询</button>
                                        </span>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-md-6">
                                <div class="form-group divflow">
                                    <label class="control-label col-md-4">
                                        代理商名称
                                        <span class="required" aria-required="true"> * </span>
                                    </label>
                                    <div class="col-md-6">
                                        <input id="AgentNameId" type="text" class="form-control" placeholder="代理商名称" value="" disabled>
                                    </div>
                                </div>
                            </div>
                            <div class="col-md-6">
                                <div class="form-group divflow">
                                    <label class="control-label col-md-4">
                                        代理商流量
                                        <span class="required" aria-required="true"> * </span>
                                    </label>
                                    <div class="col-md-6">
                                        <input type="text" id="BalanceId" data-required="1" class="form-control" placeholder="代理商流量" value="" disabled>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-md-6">
                                <div class="form-group divflow">
                                    <label class="control-label col-md-4">
                                        身份证号
                                        <span class="required" aria-required="true"> * </span>
                                    </label>
                                    <div class="col-md-6">
                                        <input type="text" id="IdCardId" data-required="1" class="form-control" placeholder="身份证号" value="" disabled>
                                    </div>
                                </div>
                            </div>
                            <div class="col-md-6">
                                <div class="form-group divflow">
                                    <label class="control-label col-md-4">
                                        联系电话
                                        <span class="required" aria-required="true"> * </span>
                                    </label>
                                    <div class="col-md-6">
                                        <input type="text" id="TelephoneId" data-required="1" class="form-control" placeholder="联系电话" value="" disabled>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-md-6">
                                <div class="form-group divflow">
                                    <label class="control-label col-md-4">
                                        地址
                                        <span class="required" aria-required="true"> * </span>
                                    </label>
                                    <div class="col-md-6">
                                        <input type="text" id="AdressId" class="form-control" placeholder="地址" value="" disabled>
                                    </div>
                                </div>
                            </div>
                            <div class="col-md-6">
                                <div class="form-group divflow">
                                    <label class="control-label col-md-4">
                                        转账流量(GB)
                                        <span class="required" aria-required="true"> * </span>
                                    </label>
                                    <div class="col-md-6">
                                        <input type="text" id="TranferBalanceId" data-required="1" class="form-control" placeholder="请输入转账流量" value="">
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-md-12">
                                <div class="form-group divflow">
                                    <label class="control-label col-md-2">
                                        说明
                                    </label>
                                    <div class="col-md-8">
                                        <textarea id="RemarkId" data-required="1" class="form-control" placeholder="请填写说明" rows="3"></textarea>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="form-actions" style="border-top:1px solid #0066b3;padding:20px;margin:0;">
                        <div class="row">
                            <div class="col-md-offset-10 col-md-9">
                                <button type="button" class="btn green" onclick="TransferSubmit();">提 交</button>
                                <button type="button" class="btn grey-salsa btn-outline" onclick="history.back(-1);">取 消</button>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>

